<%#
# _translation_form.rhtml
# 
# Created on 2007-11-29, 21:45:22
# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<!--[form:translate]-->
<p>
<label for="tr_<%= tr.id %>"><%=tr.tr_key%></label>
<br />
<span id="tr_<%= tr.id %>">
<%= render :partial => 'translation_text', :object => tr.text %>
</span>
<%= in_place_editor "tr_#{tr.id}", 
    :url => { :action => :set_translation_text, :id => tr.id },
    :load_text_url => url_for({ :action => :translation_text, :id => tr.id })%>
</p>
<!--[eoform:translate]-->


<%= "_translation_form" %>
